package com.ms.game.lobby.terminatedaccountlist.message;

import com.ms.game.lobby.terminatedaccountlist.db.TerminatedAccountListModel;

public class TerminatedAccountData {
	
	public TerminatedAccountData(){
		
	}
	
	public TerminatedAccountData(TerminatedAccountListModel model){
		this.id = model.getId();
		this.playerName = model.getPlayerName();
		this.reason = model.getReason();
		this.startTime = model.getStartTime();
		this.endTime = model.getEndTime();
	}

	/**
	 * id
	 */
	private int id;
	
	/**
	 * 角色暱稱
	 */
	private String playerName;
	
	/**
	 * 原因
	 */
	private String reason;
	
	/**
	 * 停權開始時間 (秒)
	 */
	private long startTime;
	
	/**
	 * 停權結束時間(秒)
	 * 永久停權 -1
	 */
	private long endTime;
		
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public long getEndTime() {
		return endTime;
	}

	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}
	
}
